{% extends 'TopxiaAdminBundle::layout.html.twig' %}

{% set menu = 'admin_integral' %}
{% block main %}
{{ web_macro.flash_messages() }}
{% set banner = block_show('bill_banner') %}


  <ul class="nav nav-tabs">
    <li  class="{% if side_nav == 'integral' %}active{% endif %}" >
      <a href="{{ url('admin_integral') }}"  >等级升级管理
      </a>
    </li>
    <li class="{% if side_nav == 'setintegral' %}active{% endif %}">
      <a href="{{ url('admin_setintegral') }}">积分设置
      </a>
    </li>
  </ul>

 <form class="form-horizontal" method="post" >
     <p style="margin-top:15px;"></p>
<div class="row form-group">
    <div class="col-md-1 control-label">
      <label for="truename">签到送</label>
    </div>
    <div class="col-md-2 controls">
      <input type="text" id="truename" name="signin" class="form-control" value="{{ integralarr.0.signin }}" > 
    </div>  
     <div class="col-md-1 control-label" style="margin-left: -45px;">
      <label for="truename">积分</label>
    </div>
  </div>
 <div class="row form-group">
    <div class="col-md-1 control-label" style="width:135px;">
      <label for="truename">邀请一个好友送</label>
    </div>
    <div class="col-md-2 controls">
      <input type="text" id="truename" name="invitation" class="form-control" value="{{ integralarr.0.invitation }}" > 
    </div>  
      <div class="col-md-1 control-label" style="margin-left: -45px;">
      <label for="truename">积分</label>
    </div>
  </div>
  <div class="row form-group">
    <div class="col-md-1 control-label" style="width:135px;">
      <label for="truename">被邀请的好友送</label>
    </div>
    <div class="col-md-2 controls">
      <input type="text" id="truename" name="beinvitation" class="form-control" value="{{ integralarr.0.beinvitation }}" > 
    </div>  
      <div class="col-md-1 control-label" style="margin-left: -45px;">
      <label for="truename">积分</label>
    </div>
  </div>   
 <div class="form-group text-right">
            <button class="btn btn-primary" id="order-create-btn" type="submit" >设置</button>
        </div>

  <input type="hidden" name="_csrf_token" value="{{ csrf_token('site') }}">
</form>
<div class="row form-group">
    <div class="col-md-4 control-label" >
      <label for="truename">活动送积分请到----><a href="course/normal/index">课程管理界面设置</a></label>
    </div>
    
  </div>
{% endblock %}
